package com.ruoyi.workbench.service;

import com.ruoyi.workbench.domain.WorkMatter;
import com.ruoyi.workbench.domain.WorkUserMatter;

import java.util.List;

/**
 * 用户收藏事项(WorkUserMatter)表服务接口
 *
 * @author Guojl
 * @since 2024-07-06
 */
public interface IWorkUserMatterService {

    /**
     * 查询首页列表
     *
     * @param workUserMatter 实例对象
     * @return 用户收藏事项列表
     */
    List<WorkMatter> getList(WorkUserMatter workUserMatter);

    /**
     * 新增数据
     *
     * @param workUserMatter 实例对象
     * @return 影响行数
     */
    int insert(WorkUserMatter workUserMatter);

    /**
     * 删除数据
     *
     * @param workUserMatter 实例对象
     * @return 影响行数
     */
    int deleteByUserIdAndMatterId(WorkUserMatter workUserMatter);

}
